/*
 * Milestone4.c
 *
 * Created: 1/22/2013 12:17:26 PM
 *  Author: duerk@msoe.edu <Kevin Duer>
 *			zimmermane@msoe.edu <Evan Zimmerman>
 *			woottons@msoe.edu <Scott Wootton>
 *			
 * Purpose: The driver for the channelmonitor and transmission
 */ 

#include <stdbool.h>		//for boolean
#include<avr/io.h>					//i/o register definitions
#include <stdio.h>
#include<avr/interrupt.h>			//interrupt definitions
#include<stdint.h>					//for uint types
#include <stdlib.h>			//for rand
#include "uart.h"
#include "reciever.h"

#define F_CPU 16000000

#include <util/delay.h>

FILE uart_str = FDEV_SETUP_STREAM(uart_putc,uart_getc,_FDEV_SETUP_RW);

/* int main()
 * Purpose: THe main function of the program
 * Parameters: None
 * Returns: None
 */
int main(){
	

	//SET BAUD RATE = 9600
	uart_init(103);
	initRecieve();
	stdout = stdin = &uart_str;
	
	_delay_ms(100);
	printf("Welcome Reciever\n");
	
	while(1){
	}	
}
